import axios from './axios'

//主页的数据请求
export const getMainData = ()=>{
    return axios('/home/main')
}

// 详情页的数据请求

export const getDetailData = (id)=>{
    return axios(`/detail/${id}`)
}